package com.harmontronics.app.pedestal;

import android.os.Environment;

import com.blankj.utilcode.util.Utils;

import java.io.File;

public class AppConstants {
    public static final String DOWNLOAD_RESOURCE_TAG = "hancode-file-downloader";
    //    public static final String DOWNLOAD_RESOURCE_FILE_NAME = "hancode-app-files.zip";
    public static final String DOWNLOAD_HTML_FOLDER = Utils.getApp().getFilesDir().getAbsolutePath() + File.separator + "html" + File.separator;

    public static final String DOWNLOAD_APK_TAG = "apk-file-downloader";
    //    public static final String DOWNLOAD_APK_FILE_NAME = "app-latest.apk";
    public static final String DOWNLOAD_APK_FOLDER = Utils.getApp().getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() + File.separator;

    public static final String DOWNLOAD_FILE_TAG = "file-downloader-tag-";
    public static final String DOWNLOAD_FILE_FOLDER = Utils.getApp().getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() + File.separator;

    public static final String UPLOAD_FILE_TAG = "file-uploader";

    public static final String DOWNLOAD_START_FOLDER = Utils.getApp().getFilesDir().getAbsolutePath() + File.separator + "h5" + File.separator;
    public static final String START_H5_PATH = DOWNLOAD_START_FOLDER + "start/index.html";
//    public static final String START_H5_PATH = DOWNLOAD_START_FOLDER + "start/js-call-native.html";
}
